package cn.kgc;

import com.netflix.loadbalancer.IRule;
import com.netflix.loadbalancer.RandomRule;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author ${李主席}
 * @date 2020/3/11  12:00
 */
@Configuration
public class MySelfRule {
    @Bean
    public IRule myRule(){
        return new RoundRule_LYP();

    }
}
